{% extends "show_data/crud.html" %}
{% block crud_result %}
{#    <table id="events" class="table" style="table-layout:auto;">#}
{#        <thead>#}
{#        <tr>#}
{#            {% for col in result_data.columns.tolist()[1:] %}{% if 'sort' not in col %}#}
{#                <th data-sortable="true" title="{{ c_c_dict[col] }}">#}
{#                    {{ col }}#}
{#                </th>#}
{#            {% endif %}{% endfor %}#}
{#        </tr>#}
{#        </thead>#}
{##}
{#        <tbody id="event-info">#}
{#        {% for i in result_data.index %}#}
{#            <tr>#}
{#                {% for col in result_data.columns.tolist()[1:] %} {% if 'link' not in col %}#}
{#                    <td><p disabled="disabled" id="{{ result_data.loc[i,col+'_sort'] }}"#}
{#                           name="{{ result_data.loc[i,'id']}}&{{ col }}" title="{{ result_data.loc[i,col]}}">#}
{#                        {{ result_data.loc[i,col] }}#}
{#                    </p></td>#}
{#                {% endif %}#}
{#                    {% if 'link' in col %}#}
{#                        <td><a href="{{ result_data.loc[i,col]}}">spec页面</a></td>#}
{#                    {% endif %}#}
{#                {% endfor %}#}
{#            </tr>#}
{#        {% endfor %}#}
{#        </tbody>#}
{#    </table>#}

    <div style="overflow-x:scroll; margin: 50px">
        <div>
            {{ result_data |safe }}
        </div>
    </div>

    {% block crud_edit %} {% endblock %}
{% endblock %}